package com.dt.platform.domain.hr.meta;

import com.github.foxnic.api.bean.BeanProperty;
import com.dt.platform.domain.hr.PaperTaskAchievement;
import java.math.BigDecimal;
import java.util.Date;
import org.github.foxnic.web.domain.hrm.Employee;
import com.dt.platform.domain.hr.Paper;
import com.dt.platform.domain.hr.PaperQuestion;
import com.dt.platform.domain.hr.PaperTask;
import javax.persistence.Transient;



/**
 * @author 金杰 , maillank@qq.com
 * @since 2024-09-13 14:22:04
 * @sign 038500379E7546A71366CFB80DFF6E53
 * 此文件由工具自动生成，请勿修改。若表结构或配置发生变动，请使用工具重新生成。
*/

public class PaperTaskAchievementMeta {
	
	/**
	 * 主键 , 类型: java.lang.String
	 */
	public static final String ID="id";
	
	/**
	 * 主键 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,ID, java.lang.String.class, "主键", "主键", java.lang.String.class, null);
	
	/**
	 * 考试版本 , 类型: java.lang.String
	 */
	public static final String TASK_VERSION="taskVersion";
	
	/**
	 * 考试版本 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> TASK_VERSION_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,TASK_VERSION, java.lang.String.class, "考试版本", "考试版本", java.lang.String.class, null);
	
	/**
	 * 试卷 , 类型: java.lang.String
	 */
	public static final String PAPER_ID="paperId";
	
	/**
	 * 试卷 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> PAPER_ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,PAPER_ID, java.lang.String.class, "试卷", "试卷", java.lang.String.class, null);
	
	/**
	 * 任务 , 类型: java.lang.String
	 */
	public static final String TASK_ID="taskId";
	
	/**
	 * 任务 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> TASK_ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,TASK_ID, java.lang.String.class, "任务", "任务", java.lang.String.class, null);
	
	/**
	 * 序号 , 类型: java.lang.Integer
	 */
	public static final String QUESTION_NUMBER="questionNumber";
	
	/**
	 * 序号 , 类型: java.lang.Integer
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.Integer> QUESTION_NUMBER_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,QUESTION_NUMBER, java.lang.Integer.class, "序号", "序号", java.lang.Integer.class, null);
	
	/**
	 * 题目 , 类型: java.lang.String
	 */
	public static final String QUESTION_ID="questionId";
	
	/**
	 * 题目 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> QUESTION_ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,QUESTION_ID, java.lang.String.class, "题目", "题目", java.lang.String.class, null);
	
	/**
	 * 用户 , 类型: java.lang.String
	 */
	public static final String USER_ID="userId";
	
	/**
	 * 用户 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> USER_ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,USER_ID, java.lang.String.class, "用户", "用户", java.lang.String.class, null);
	
	/**
	 * 得分 , 类型: java.math.BigDecimal
	 */
	public static final String SCORE="score";
	
	/**
	 * 得分 , 类型: java.math.BigDecimal
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.math.BigDecimal> SCORE_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,SCORE, java.math.BigDecimal.class, "得分", "得分", java.math.BigDecimal.class, null);
	
	/**
	 * 状态 , 类型: java.lang.String
	 */
	public static final String STATUS="status";
	
	/**
	 * 状态 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> STATUS_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,STATUS, java.lang.String.class, "状态", "状态", java.lang.String.class, null);
	
	/**
	 * 创建人ID , 类型: java.lang.String
	 */
	public static final String CREATE_BY="createBy";
	
	/**
	 * 创建人ID , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> CREATE_BY_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,CREATE_BY, java.lang.String.class, "创建人ID", "创建人ID", java.lang.String.class, null);
	
	/**
	 * 创建时间 , 类型: java.util.Date
	 */
	public static final String CREATE_TIME="createTime";
	
	/**
	 * 创建时间 , 类型: java.util.Date
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.util.Date> CREATE_TIME_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,CREATE_TIME, java.util.Date.class, "创建时间", "创建时间", java.util.Date.class, null);
	
	/**
	 * 修改人ID , 类型: java.lang.String
	 */
	public static final String UPDATE_BY="updateBy";
	
	/**
	 * 修改人ID , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> UPDATE_BY_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,UPDATE_BY, java.lang.String.class, "修改人ID", "修改人ID", java.lang.String.class, null);
	
	/**
	 * 修改时间 , 类型: java.util.Date
	 */
	public static final String UPDATE_TIME="updateTime";
	
	/**
	 * 修改时间 , 类型: java.util.Date
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.util.Date> UPDATE_TIME_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,UPDATE_TIME, java.util.Date.class, "修改时间", "修改时间", java.util.Date.class, null);
	
	/**
	 * 是否已删除 , 类型: java.lang.Integer
	 */
	public static final String DELETED="deleted";
	
	/**
	 * 是否已删除 , 类型: java.lang.Integer
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.Integer> DELETED_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,DELETED, java.lang.Integer.class, "是否已删除", "是否已删除", java.lang.Integer.class, null);
	
	/**
	 * 删除人ID , 类型: java.lang.String
	 */
	public static final String DELETE_BY="deleteBy";
	
	/**
	 * 删除人ID , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> DELETE_BY_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,DELETE_BY, java.lang.String.class, "删除人ID", "删除人ID", java.lang.String.class, null);
	
	/**
	 * 删除时间 , 类型: java.util.Date
	 */
	public static final String DELETE_TIME="deleteTime";
	
	/**
	 * 删除时间 , 类型: java.util.Date
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.util.Date> DELETE_TIME_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,DELETE_TIME, java.util.Date.class, "删除时间", "删除时间", java.util.Date.class, null);
	
	/**
	 * version , 类型: java.lang.Integer
	 */
	public static final String VERSION="version";
	
	/**
	 * version , 类型: java.lang.Integer
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.Integer> VERSION_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,VERSION, java.lang.Integer.class, "version", "version", java.lang.Integer.class, null);
	
	/**
	 * 租户 , 类型: java.lang.String
	 */
	public static final String TENANT_ID="tenantId";
	
	/**
	 * 租户 , 类型: java.lang.String
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,java.lang.String> TENANT_ID_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,TENANT_ID, java.lang.String.class, "租户", "租户", java.lang.String.class, null);
	
	/**
	 * user , 类型: org.github.foxnic.web.domain.hrm.Employee
	 */
	public static final String USER="user";
	
	/**
	 * user , 类型: org.github.foxnic.web.domain.hrm.Employee
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,org.github.foxnic.web.domain.hrm.Employee> USER_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,USER, org.github.foxnic.web.domain.hrm.Employee.class, "user", "user", org.github.foxnic.web.domain.hrm.Employee.class, null);
	
	/**
	 * paper , 类型: com.dt.platform.domain.hr.Paper
	 */
	public static final String PAPER="paper";
	
	/**
	 * paper , 类型: com.dt.platform.domain.hr.Paper
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,com.dt.platform.domain.hr.Paper> PAPER_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,PAPER, com.dt.platform.domain.hr.Paper.class, "paper", "paper", com.dt.platform.domain.hr.Paper.class, null);
	
	/**
	 * paperQuestion , 类型: com.dt.platform.domain.hr.PaperQuestion
	 */
	public static final String PAPER_QUESTION="paperQuestion";
	
	/**
	 * paperQuestion , 类型: com.dt.platform.domain.hr.PaperQuestion
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,com.dt.platform.domain.hr.PaperQuestion> PAPER_QUESTION_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,PAPER_QUESTION, com.dt.platform.domain.hr.PaperQuestion.class, "paperQuestion", "paperQuestion", com.dt.platform.domain.hr.PaperQuestion.class, null);
	
	/**
	 * PaperTask , 类型: com.dt.platform.domain.hr.PaperTask
	 */
	public static final String PAPER_TASK="PaperTask";
	
	/**
	 * PaperTask , 类型: com.dt.platform.domain.hr.PaperTask
	 */
	public static final BeanProperty<com.dt.platform.domain.hr.PaperTaskAchievement,com.dt.platform.domain.hr.PaperTask> PAPER_TASK_PROP = new BeanProperty(com.dt.platform.domain.hr.PaperTaskAchievement.class ,PAPER_TASK, com.dt.platform.domain.hr.PaperTask.class, "PaperTask", "PaperTask", com.dt.platform.domain.hr.PaperTask.class, null);
	
	/**
	 * 全部属性清单
	 */
	public static final String[] $PROPS={ ID , TASK_VERSION , PAPER_ID , TASK_ID , QUESTION_NUMBER , QUESTION_ID , USER_ID , SCORE , STATUS , CREATE_BY , CREATE_TIME , UPDATE_BY , UPDATE_TIME , DELETED , DELETE_BY , DELETE_TIME , VERSION , TENANT_ID , USER , PAPER , PAPER_QUESTION , PAPER_TASK };
	
	/**
	 * 代理类
	 */
	public static class $$proxy$$ extends com.dt.platform.domain.hr.PaperTaskAchievement {

		private static final long serialVersionUID = 1L;

		
		/**
		 * 设置 主键
		 * @param id 主键
		 * @return 当前对象
		*/
		public PaperTaskAchievement setId(String id) {
			super.change(ID,super.getId(),id);
			super.setId(id);
			return this;
		}
		
		/**
		 * 设置 考试版本
		 * @param taskVersion 考试版本
		 * @return 当前对象
		*/
		public PaperTaskAchievement setTaskVersion(String taskVersion) {
			super.change(TASK_VERSION,super.getTaskVersion(),taskVersion);
			super.setTaskVersion(taskVersion);
			return this;
		}
		
		/**
		 * 设置 试卷
		 * @param paperId 试卷
		 * @return 当前对象
		*/
		public PaperTaskAchievement setPaperId(String paperId) {
			super.change(PAPER_ID,super.getPaperId(),paperId);
			super.setPaperId(paperId);
			return this;
		}
		
		/**
		 * 设置 任务
		 * @param taskId 任务
		 * @return 当前对象
		*/
		public PaperTaskAchievement setTaskId(String taskId) {
			super.change(TASK_ID,super.getTaskId(),taskId);
			super.setTaskId(taskId);
			return this;
		}
		
		/**
		 * 设置 序号
		 * @param questionNumber 序号
		 * @return 当前对象
		*/
		public PaperTaskAchievement setQuestionNumber(Integer questionNumber) {
			super.change(QUESTION_NUMBER,super.getQuestionNumber(),questionNumber);
			super.setQuestionNumber(questionNumber);
			return this;
		}
		
		/**
		 * 设置 题目
		 * @param questionId 题目
		 * @return 当前对象
		*/
		public PaperTaskAchievement setQuestionId(String questionId) {
			super.change(QUESTION_ID,super.getQuestionId(),questionId);
			super.setQuestionId(questionId);
			return this;
		}
		
		/**
		 * 设置 用户
		 * @param userId 用户
		 * @return 当前对象
		*/
		public PaperTaskAchievement setUserId(String userId) {
			super.change(USER_ID,super.getUserId(),userId);
			super.setUserId(userId);
			return this;
		}
		
		/**
		 * 设置 得分
		 * @param score 得分
		 * @return 当前对象
		*/
		public PaperTaskAchievement setScore(BigDecimal score) {
			super.change(SCORE,super.getScore(),score);
			super.setScore(score);
			return this;
		}
		
		/**
		 * 设置 状态
		 * @param status 状态
		 * @return 当前对象
		*/
		public PaperTaskAchievement setStatus(String status) {
			super.change(STATUS,super.getStatus(),status);
			super.setStatus(status);
			return this;
		}
		
		/**
		 * 设置 创建人ID
		 * @param createBy 创建人ID
		 * @return 当前对象
		*/
		public PaperTaskAchievement setCreateBy(String createBy) {
			super.change(CREATE_BY,super.getCreateBy(),createBy);
			super.setCreateBy(createBy);
			return this;
		}
		
		/**
		 * 设置 创建时间
		 * @param createTime 创建时间
		 * @return 当前对象
		*/
		public PaperTaskAchievement setCreateTime(Date createTime) {
			super.change(CREATE_TIME,super.getCreateTime(),createTime);
			super.setCreateTime(createTime);
			return this;
		}
		
		/**
		 * 设置 修改人ID
		 * @param updateBy 修改人ID
		 * @return 当前对象
		*/
		public PaperTaskAchievement setUpdateBy(String updateBy) {
			super.change(UPDATE_BY,super.getUpdateBy(),updateBy);
			super.setUpdateBy(updateBy);
			return this;
		}
		
		/**
		 * 设置 修改时间
		 * @param updateTime 修改时间
		 * @return 当前对象
		*/
		public PaperTaskAchievement setUpdateTime(Date updateTime) {
			super.change(UPDATE_TIME,super.getUpdateTime(),updateTime);
			super.setUpdateTime(updateTime);
			return this;
		}
		
		/**
		 * 设置 是否已删除
		 * @param deleted 是否已删除
		 * @return 当前对象
		*/
		public PaperTaskAchievement setDeleted(Integer deleted) {
			super.change(DELETED,super.getDeleted(),deleted);
			super.setDeleted(deleted);
			return this;
		}
		
		/**
		 * 设置 删除人ID
		 * @param deleteBy 删除人ID
		 * @return 当前对象
		*/
		public PaperTaskAchievement setDeleteBy(String deleteBy) {
			super.change(DELETE_BY,super.getDeleteBy(),deleteBy);
			super.setDeleteBy(deleteBy);
			return this;
		}
		
		/**
		 * 设置 删除时间
		 * @param deleteTime 删除时间
		 * @return 当前对象
		*/
		public PaperTaskAchievement setDeleteTime(Date deleteTime) {
			super.change(DELETE_TIME,super.getDeleteTime(),deleteTime);
			super.setDeleteTime(deleteTime);
			return this;
		}
		
		/**
		 * 设置 version
		 * @param version version
		 * @return 当前对象
		*/
		public PaperTaskAchievement setVersion(Integer version) {
			super.change(VERSION,super.getVersion(),version);
			super.setVersion(version);
			return this;
		}
		
		/**
		 * 设置 租户
		 * @param tenantId 租户
		 * @return 当前对象
		*/
		public PaperTaskAchievement setTenantId(String tenantId) {
			super.change(TENANT_ID,super.getTenantId(),tenantId);
			super.setTenantId(tenantId);
			return this;
		}
		
		/**
		 * 设置 user
		 * @param user user
		 * @return 当前对象
		*/
		public PaperTaskAchievement setUser(Employee user) {
			super.change(USER,super.getUser(),user);
			super.setUser(user);
			return this;
		}
		
		/**
		 * 设置 paper
		 * @param paper paper
		 * @return 当前对象
		*/
		public PaperTaskAchievement setPaper(Paper paper) {
			super.change(PAPER,super.getPaper(),paper);
			super.setPaper(paper);
			return this;
		}
		
		/**
		 * 设置 paperQuestion
		 * @param paperQuestion paperQuestion
		 * @return 当前对象
		*/
		public PaperTaskAchievement setPaperQuestion(PaperQuestion paperQuestion) {
			super.change(PAPER_QUESTION,super.getPaperQuestion(),paperQuestion);
			super.setPaperQuestion(paperQuestion);
			return this;
		}
		
		/**
		 * 设置 PaperTask
		 * @param PaperTask PaperTask
		 * @return 当前对象
		*/
		public PaperTaskAchievement setPaperTask(PaperTask PaperTask) {
			super.change(PAPER_TASK,super.getPaperTask(),PaperTask);
			super.setPaperTask(PaperTask);
			return this;
		}

		/**
		 * 克隆当前对象
		*/
		@Transient
		public PaperTaskAchievement clone() {
			return duplicate(true);
		}

		/**
		 * 复制当前对象
		 * @param all 是否复制全部属性，当 false 时，仅复制来自数据表的属性
		*/
		@Transient
		public PaperTaskAchievement duplicate(boolean all) {
			$$proxy$$ inst=new $$proxy$$();
			inst.setQuestionId(this.getQuestionId());
			inst.setUpdateTime(this.getUpdateTime());
			inst.setTaskVersion(this.getTaskVersion());
			inst.setUserId(this.getUserId());
			inst.setVersion(this.getVersion());
			inst.setQuestionNumber(this.getQuestionNumber());
			inst.setScore(this.getScore());
			inst.setCreateBy(this.getCreateBy());
			inst.setDeleted(this.getDeleted());
			inst.setCreateTime(this.getCreateTime());
			inst.setUpdateBy(this.getUpdateBy());
			inst.setDeleteTime(this.getDeleteTime());
			inst.setTenantId(this.getTenantId());
			inst.setDeleteBy(this.getDeleteBy());
			inst.setId(this.getId());
			inst.setPaperId(this.getPaperId());
			inst.setTaskId(this.getTaskId());
			inst.setStatus(this.getStatus());
			if(all) {
				inst.setPaperQuestion(this.getPaperQuestion());
				inst.setPaper(this.getPaper());
				inst.setPaperTask(this.getPaperTask());
				inst.setUser(this.getUser());
			}
			inst.clearModifies();
			return inst;
		}

	}
}